package com.weayer.service;

import com.weayer.dto.ResponseResult;
import com.weayer.remote.MapPointsClient;
import com.weayer.request.PointRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description: 轨迹点Service
 * @author: Weayer
 **/
@Service
public class PointsService {
    @Autowired
    MapPointsClient mapPointsClient;

    /**
     * @Description: 轨迹点上传
     * @Param: [pointRequest]
     * @return: com.weayer.dto.ResponseResult
     **/
    public ResponseResult upload(PointRequest pointRequest){
        return mapPointsClient.upload(pointRequest);
    }
}
